package com.qf.pkg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 程序员
 * @since 2023-10-28
 */
@TableName("package_order")
public class PackageOrder implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 租户id
     */
    private String tenantId;

    /**
     * 套餐id
     */
    private String packageId;

    /**
     * 支付时间
     */
    private Date payTime;

    /**
     * 0：表示未支付1：表示已经支付
     */
    private Integer payStatus;

    /**
     * 支付金额
     */
    private String money;

    /**
     * 支付订单号
     */
    private String payno;

    /**
     * 套餐开始时间
     */
    private Date startTime;

    /**
     * 套餐结束时间
     */
    private Date endTime;

    /**
     * 下单时间
     */
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getPackageId() {
        return packageId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getPayno() {
        return payno;
    }

    public void setPayno(String payno) {
        this.payno = payno;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "PackageOrder{" +
        ", id = " + id +
        ", tenantId = " + tenantId +
        ", packageId = " + packageId +
        ", payTime = " + payTime +
        ", payStatus = " + payStatus +
        ", money = " + money +
        ", payno = " + payno +
        ", startTime = " + startTime +
        ", endTime = " + endTime +
        ", createTime = " + createTime +
        "}";
    }
}
